import com.zjgu.dao.*;
import com.zjgu.entity.*;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.support.ManagedList;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;

import java.text.SimpleDateFormat;
import java.util.*;

/**
 * Created by jshjsh on 2016/9/17.
 */

@RunWith(SpringJUnit4ClassRunner.class)
@WebAppConfiguration
@ContextConfiguration("classpath*:spring-servlet.xml")
public class testMySql {

    @Autowired
    private MobanMapper mobanMapper;

    @Autowired
    private HuanjieMapper huanjieMapper;

    @Autowired
    private MokuaiMapper mokuaiMapper;

    @Autowired
    private BisaiMapper bisaiMapper;

    @Autowired
    private MemberMapper memberMapper;

    @Autowired
    private GroupMapper groupMapper;

    @Autowired
    private TeamMapper teamMapper;


    @Test
    public void dao() {
        bisaiMapper.selectAllBisai();
    }
}
